home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / queries / pgetmasterpagelist.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  755b  |  31 lines

  1. /*
  2.  *--- PGetMasterPageList.cpp ----------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetMasterPageList.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetMasterPageList.h"
  12. #include "PReplyBuf.h"
  13.  
  14. PGetMasterPageList::PGetMasterPageList()
  15. : PListQuery(pm_getmasterpagelist)
  16. {
  17.     Scan();
  18. }
  19.  
  20. void PGetMasterPageList::Scan()
  21. {
  22.     PReplyBuf reply(listMom.Current());
  23.     
  24.     reply    >> nPageID
  25.             >> &sMasterName;
  26.     
  27.     listMom.Update(reply);
  28. }
  29.  
  30. // end of PGetMasterPageList.cpp
  31.